<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="BloggerHelper,net.nobien.webapis.google.utils.BloggerHelper,buildQueryString,encodeSpecialChars,parseBlogList,parseBlogPost,parseBlogPostList,parseComment,parseCommentList,serializeBlogPost,serializeComment" name="keywords">
<title>net.nobien.webapis.google.utils.BloggerHelper</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'BloggerHelper - AS3BloggerLib v0.1.2 Documentation';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">AS3BloggerLib v0.1.2 Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../index.html?net/nobien/webapis/google/utils/BloggerHelper.html&amp;net/nobien/webapis/google/utils/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;BloggerHelper</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class BloggerHelper"); titleBar_setSubNav(false,false,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">net.nobien.webapis.google.utils</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class BloggerHelper</td>
</tr>
</table>
<p></p>
  The BloggerHelper class provides helper methods for processing
  responses from the Blogger Data API.
  <p></p>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#buildQueryString()">buildQueryString</a>(categories:Array = null, updatedMin:Date = null, updatedMax:Date = null, publishedMin:Date = null, publishedMax:Date = null, orderBy:String = null, maxResults:int = -1, startIndex:int = -1):String</div>
<div class="summaryTableDescription">[static]
        Builds a Blogger query string
        </div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#encodeSpecialChars()">encodeSpecialChars</a>(str:String):String</div>
<div class="summaryTableDescription">[static]
        Encodes special characters as HTML entities.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#parseBlogList()">parseBlogList</a>(xmlStr:String):Array</div>
<div class="summaryTableDescription">[static]
        Parses a Blogger blog feed.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#parseBlogPost()">parseBlogPost</a>(xmlStr:String):<a href="../blogger/BlogPost.html">BlogPost</a>
</div>
<div class="summaryTableDescription">[static]
        Parses a Blogger blog post.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#parseBlogPostList()">parseBlogPostList</a>(xmlStr:String):Array</div>
<div class="summaryTableDescription">[static]
        Parses a Blogger blog post feed.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#parseComment()">parseComment</a>(xmlStr:String):<a href="../blogger/Comment.html">Comment</a>
</div>
<div class="summaryTableDescription">[static]
        Parses a Blogger comment entry.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#parseCommentList()">parseCommentList</a>(xmlStr:String):Array</div>
<div class="summaryTableDescription">[static]
        Parses a Blogger comment feed.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#serializeBlogPost()">serializeBlogPost</a>(blogPost:<a href="../blogger/BlogPost.html">BlogPost</a>):String</div>
<div class="summaryTableDescription">[static]
        Serializes a BlogPost object.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#serializeComment()">serializeComment</a>(comment:<a href="../blogger/Comment.html">Comment</a>):String</div>
<div class="summaryTableDescription">[static]
        Serializes a Comment object.</div>
</td><td class="summaryTableOwnerCol">BloggerHelper</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="buildQueryString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">buildQueryString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public static function buildQueryString(categories:Array = null, updatedMin:Date = null, updatedMax:Date = null, publishedMin:Date = null, publishedMax:Date = null, orderBy:String = null, maxResults:int = -1, startIndex:int = -1):String</code><p>
        Builds a Blogger query string
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">categories</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; Array - An optional Array of category names
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">updatedMin</span>:Date</code> (default = <code>null</code>)<code></code> &mdash; Date - An optional Date specifying the oldest updated date
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">updatedMax</span>:Date</code> (default = <code>null</code>)<code></code> &mdash; Date - An optional Date specifying the youngest updated date
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">publishedMin</span>:Date</code> (default = <code>null</code>)<code></code> &mdash; Date - An optional Date specifying the oldest publish date
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">publishedMax</span>:Date</code> (default = <code>null</code>)<code></code> &mdash; Date - An optional Date specifying the youngest publish date
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">orderBy</span>:String</code> (default = <code>null</code>)<code></code> &mdash; String - An optional String to specify the ordering of the results
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">maxResults</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; int - An optional int specifying the maximum amount of results
        </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">startIndex</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; int - An optional int specifying the start index
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; String A query string
        </td>
</tr>
</table>
</div>
<a name="encodeSpecialChars()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">encodeSpecialChars</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function encodeSpecialChars(str:String):String</code><p>
        Encodes special characters as HTML entities.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">str</span>:String</code> &mdash; String - A content string
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; String The encoded content string
        </td>
</tr>
</table>
</div>
<a name="parseBlogList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">parseBlogList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function parseBlogList(xmlStr:String):Array</code><p>
        Parses a Blogger blog feed.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">xmlStr</span>:String</code> &mdash; String - Atom 1.0 feed data
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; Array An array of Blog objects
        </td>
</tr>
</table>
</div>
<a name="parseBlogPost()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">parseBlogPost</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function parseBlogPost(xmlStr:String):<a href="../blogger/BlogPost.html">BlogPost</a></code><p>
        Parses a Blogger blog post.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">xmlStr</span>:String</code> &mdash; String - Atom 1.0 entry data
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../blogger/BlogPost.html">BlogPost</a></code> &mdash; 
                        BlogPost A BlogPost object
        
                        
                     </td>
</tr>
</table>
</div>
<a name="parseBlogPostList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">parseBlogPostList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function parseBlogPostList(xmlStr:String):Array</code><p>
        Parses a Blogger blog post feed.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">xmlStr</span>:String</code> &mdash; String - Atom 1.0 feed data
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; Array An array of BlogPost objects
        </td>
</tr>
</table>
</div>
<a name="parseComment()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">parseComment</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function parseComment(xmlStr:String):<a href="../blogger/Comment.html">Comment</a></code><p>
        Parses a Blogger comment entry.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">xmlStr</span>:String</code> &mdash; String - Atom 1.0 entry data
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../blogger/Comment.html">Comment</a></code> &mdash; 
                        Comment A Comment object
        
                        
                     </td>
</tr>
</table>
</div>
<a name="parseCommentList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">parseCommentList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function parseCommentList(xmlStr:String):Array</code><p>
        Parses a Blogger comment feed.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">xmlStr</span>:String</code> &mdash; String - Atom 1.0 feed data
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; Array An array of Comment objects
        </td>
</tr>
</table>
</div>
<a name="serializeBlogPost()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">serializeBlogPost</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function serializeBlogPost(blogPost:<a href="../blogger/BlogPost.html">BlogPost</a>):String</code><p>
        Serializes a BlogPost object.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">blogPost</span>:<a href="../blogger/BlogPost.html">BlogPost</a></code> &mdash; BlogPost - The blog post to serialize
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; String An Atom entry XML string
        </td>
</tr>
</table>
</div>
<a name="serializeComment()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">serializeComment</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function serializeComment(comment:<a href="../blogger/Comment.html">Comment</a>):String</code><p>
        Serializes a Comment object.
        </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">comment</span>:<a href="../blogger/Comment.html">Comment</a></code> &mdash; Comment - The comment to serialize
        </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; String An Atom entry XML string
        </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
